function [ Q ] = runBellmanUpdate(net,Dstate,DnextState)
%RUNBELLMANUPDATE Summary of this function goes here
%   Detailed explanation goes here
global paramDiscountFactor;
reward = getStateReward(Dstate);
[~,Qmax]  = getGreedyAction( net,DnextState );
Q = reward + paramDiscountFactor*Qmax;
end